From e75f92933e2ce4438bc15c98f75ee8b50e5ad682 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Tue, 28 Nov 2006 11:31:45 -0700 Subject: [PATCH] [IA64] increase xen side pmu constatns for motecito. Signed-off-by: Isaku Yamahata --- xen/include/asm-ia64/linux-xen/asm/processor.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xen/include/asm-ia64/linux-xen/asm/processor.h b/xen/include/asm-ia64/linux-xen/asm/processor.h index 976c0960d6..fb753e0d16 100644 --- a/xen/include/asm-ia64/linux-xen/asm/processor.h +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h @@ -28,8 +28,18 @@ * Limits for PMC and PMD are set to less than maximum architected values * but should be sufficient for a while */ +#ifdef XEN +/* + * These are increased in linux-2.6.16. Montecito requires 35PMDs. + * This ifdef will become unnecessary when this header file is + * upgraded to 2.6.16 or newer. + */ +#define IA64_NUM_PMC_REGS 64 +#define IA64_NUM_PMD_REGS 64 +#else #define IA64_NUM_PMC_REGS 32 #define IA64_NUM_PMD_REGS 32 +#endif #define DEFAULT_MAP_BASE __IA64_UL_CONST(0x2000000000000000) #define DEFAULT_TASK_SIZE __IA64_UL_CONST(0xa000000000000000) -- 2.30.2